/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ua.yandex.skipass;

/**
 *
 * @author Neophron
 * @param <T>
 * @param <E>
 */
public class Pair<T, E> {

    private T first;
    private E second;

    public Pair(T first, E second) {
        this.first = first;
        this.second = second;
    }

    public void setFirst(T newFirst) {
        this.first = newFirst;
    }

    public void setSecond(E newSecond) {
        this.second = newSecond;
    }

    public T getFirst() {
        return first;
    }

    public E getSecond() {
        return second;
    }

}
